<%@ tag description="Master Page Template" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="joda" uri="http://www.joda.org/joda/time/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css"	href="<c:url value="/static/css/bootstrap.min.css" />">
<link rel="stylesheet" type="text/css"	href="<c:url value="/static/css/master.css" />">
<link rel="stylesheet" type="text/css"  href="<c:url value="/static/css/submenu.css" />">
<link rel="stylesheet" type="text/css"  href="<c:url value="/static/css/staff.css" />">

<title>Birthday Money</title>
</head>
<body>
    <c:set var="timezone" scope="session" value="Europe/Moscow"/>
	<p id="greeting">
		${masterPageModel.greeting} <a href="<c:url value="/j_spring_security_logout" />">Logout</a><br/>
		Current Time: <span id="timer"></span>
	</p>
	<h1>Birthday Money</h1>
	<div id="middlebar">
		<ul class="nav">
			<li class="first"><a href="<c:url value="/home.html" />">Home</a></li>
			<li><a href="<c:url value="/operations.html" />">Operation History</a></li>
			<li><a href="<c:url value="/staff.html" />">Staff Management</a></li>
			<div class="nav nav_div">
				<li><a href="<c:url value="#" />" onclick="switchLayer('sm_1')">Settings</a></li>
				<ul class="nav submenu" id="sm_1" style="display:none">
					<li><a href="<c:url value="/settings/profile.html"/>">Profile Management</a></li>
					<li><a href="<c:url value="/settings/notification.html"/>">Notification Management</a></li>
				</ul>
			</div>			
		</ul>
	</div>
	<div id="content">
      <jsp:doBody/>
    </div>
    
    <script type="text/javascript" src="<c:url value="/static/js/jquery-1.9.1.min.js" />"></script>
     <script type="text/javascript" src="<c:url value="/static/js/bootstrap.file-input.js" />"></script>
	<script type="text/javascript" src="<c:url value="/static/js/menu-0.1.js" />"></script>
    <script type="text/javascript" src="<c:url value="/static/js/personEditor.js" />"></script>
    <script type="text/javascript" src="<c:url value="/static/js/timer.js" />"></script>
    
  </body>
</html>